Ubuntu 16.04
Sponsored Link

Nagios : Add Monitoring Target Host#1
2016/06/08
 
It's possible to monitor other servers on the network.
[1] For exmaple, add a server for monitoring target with simply Ping command.
root@dlp:~#
vi /etc/nagios3/conf.d/node01.cfg
# create new

define host{
    use                     generic-host
    host_name               node01
    alias                   node01
    address                 10.0.0.51
}
define service{
    use                     generic-service
    host_name               node01
    service_description     PING
    check_command           check_ping!100.0,20%!500.0,60%
}

root@dlp:~#
systemctl restart nagios3

[2] It's possible to view the status for a new server on the admin site.
 
Tweet